package com.work.Bean;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
@Qualifier("beanB")
public class BeanB implements Bean{

	public void deal() {
		System.out.println("这里是B的方法");		
	}

}
